﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SuraQR.Controller;
using System.Diagnostics;

namespace SuraQR.ServerForm
{
    public partial class loginFrm : Form
    {
        public loginFrm()
        {
            InitializeComponent();
        }

        private void btn_login_Click(object sender, EventArgs e)
        {
            Debug.WriteLine("show");
            lunchersv l = new lunchersv();
            this.Hide();
            l.ShowDialog();
            l.clearConfig();
            this.Close();
            Debug.WriteLine("close");
           
        }

        private void btn_db_Click(object sender, EventArgs e)
        {
            OrcelConnection db = new OrcelConnection();
            //db.connect();
           // db.test();
        }
    }
}
